<template>
	<view class="content">
    <u--textarea
      class="textarea"
      v-model="value1"
      placeholder="请输入你想问的内容..."
      confirmType="done"
      height="180"
    >
    </u--textarea>
    <view class="upload">
      <u-upload
        width="180"
        height="180"
        :fileList="fileList1"
        :previewFullImage="true"
        name="1"
        :maxCount="10"
        accept="image/*"
      ></u-upload>
    </view>
	</view>
</template>

<script>
	export default {
		data() {
			return {
				value1: '',
        fileList1: [
          {url: 'https://gimg2.baidu.com/image_search/src=http%3A%2F%2Fimgsa.baidu.com%2Fexp%2Fw%3D500%2Fsign%3D220ba79204082838680ddc148898a964%2F9922720e0cf3d7ca7ebf33fbf11fbe096a63a9f5.jpg&refer=http%3A%2F%2Fimgsa.baidu.com&app=2002&size=f9999,10000&q=a80&n=0&g=0n&fmt=auto?sec=1666014519&t=5fc318a8b30f328815de90a228bf56f1'}
        ]
			}
		},
		onLoad() {
      console.log('--------1111------', uni.getSystemInfoSync().statusBarHeight)
		},
		methods: {
      click(item) {
        console.log('---------', item);
      }
		}
	}
</script>

<style>
	.content {
    margin: 0 auto;
    max-width: 900rpx;
	}

  .textarea {
    margin: 20rpx;
  }

  .upload {
    margin: 20rpx;
  }

</style>
